package work.jame.blog.service;

import work.jame.blog.pojo.BlackList;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jame
 * @since 2023-05-14
 */
public interface BlackListService extends IService<BlackList> {

    /**
     * 根据ip查询返回对应的黑名单数据
     * @param ip 客户端ip
     * @return 黑名单
     */
    BlackList queryBlackListByIp(String ip);

}
